package cn.gson.crm.model.entity;

import javax.persistence.*;

import lombok.Data;

/**
 * 就业学员实体类
 * id、company、address、offer、gdtime、getjobtime、shift、closing、trialSalary、salary、treatment、studentId
 * 编号、公司名、公司地址、offer截图、毕业时间、入职时间、上班时间、下班时间、试用工资、薪资、详情待遇、学员表外键
 * 
 * @author asus
 *
 */
@Entity
@Table(name = "tb_jy_graduation")
@Data
public class JyTeaemployment {
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "tb_graduation_id")
	private Long id;

	private String company;

	private String address;

	private String gdtime;

	@Column(name="getjob_time")
	private String getjobtime;
	
	private String shift;

	private String closing;

	@Column(name = "trial_salary")
	private Integer trialSalary;

	private Integer salary;
	
	@Column(name="is_delete")
	private Boolean delete;
	
	@OneToOne
	@JoinColumn(name = "offer_id")
	private Images offer;
	
	@OneToOne
	@JoinColumn(name = "student_id")
	private Student student;

}
